-
Notifications
You must be signed in to change notification settings - Fork 2.4k
docs: add MongoDB MCP server tutorial #2660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| #### Goose Prompt | ||
| ``` | ||
| Update all users in the premium tier who haven't logged in for more than 90 days - set their status to 'inactive' and add a note about when this change was made. | ||
| ``` | ||
|
|
||
| #### Goose Output | ||
| ``` | ||
| I've successfully updated inactive premium users using updateMany: | ||
|
|
||
| db.users.updateMany( | ||
| { | ||
| subscriptionTier: "premium", | ||
| lastLogin: { $lt: new Date(Date.now() - 90 * 24 * 60 * 60 * 1000) } | ||
| }, | ||
| { | ||
| $set: { | ||
| status: "inactive", | ||
| inactiveNote: "Auto-updated to inactive on 2025-05-25 due to 90+ days of inactivity", | ||
| lastModified: new Date() | ||
| } | ||
| } | ||
| ) | ||
|
|
||
| Operation Result: | ||
| { | ||
| acknowledged: true, | ||
| matchedCount: 23, | ||
| modifiedCount: 23, | ||
| upsertedId: null, | ||
| upsertedCount: 0 | ||
| } | ||
|
|
||
| Updated 23 premium tier users who hadn't logged in since February 24, 2025. Each document now has: | ||
| • status: "inactive" | ||
| • inactiveNote: explains the automatic status change | ||
| • lastModified: timestamp of this operation | ||
|
|
||
| Consider sending re-engagement emails to these users or reviewing their subscription status. | ||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think for brevity, we could choose one example -- similar to our other tutorials. Perhaps this one with the inactive premium users could serve as the primary example!
|
Thank you for contributing. I only had one tiny comment! |
|
@mcinteerj still in progress? |
|
I've updated to remove the extra examples now. All good to go now. |
|
the failure is I think because of something fixed in master, @mcinteerj would you mind merging master in and pushing? |
|
sorry for the slow process @mcinteerj - let me know if you are still interested in getting this in or whether we should close |
Add comprehensive tutorial for setting up MongoDB MCP server extension following the same structure as existing database tutorials. - Covers both Desktop and CLI installation methods - Includes connection string examples for local and Atlas setups - Documents full range of operations (CRUD, indexing, admin functions) - Uses MongoDB-native syntax and terminology in examples - Highlights comprehensive MongoDB capabilities beyond read-only access
dd61145 to
d2172ea
Compare
|
I tried rebasing but the DCO check still failed. But perhaps @mcinteerj will be able to retrigger it |
…ing agent chat messages (#3453)
Signed-off-by: The-Best-Codes <[email protected]>
|
Hi Team, Apologies for the slowness here, I've merged main and pushed. Please let me know if anything else is needed on my end. |
|
done! thank you @mcinteerj |
* main: feat(gcpvertexai): do HTTP 429 like retries for Anthropic API HTTP 529 overloaded status code (#3026) Fix a few ui edge cases - refresh occasionally crashing, chat loader over text and chat input height returning to auto (#3469) Don't default to main for build-cli (#3467) docs: add MongoDB MCP server tutorial (#2660) feat: run sub recipe multiple times in parallel (Experimental feature) (#3274) chore(release): release version 1.1.0 (#3465) chore: implement streaming for anthropic.rs firstparty provider (#3419) Fix regression: add back detail to tool-call banners (#3231) Document release process and update some just recipes (#3460) feat: add download_cli.ps1 file for windows (#3354) fix: session_file is optional (#3462) Bump more space for goose is working on it so it doesnt overlap incoming agent chat messages (#3453) Align chat input action buttons to bottom when large amount of text (#3455) docs: add Cloudflare MCP Server tutorial (#3278) feat(cli): Clear persisted session file with /clear command (#3145)
Signed-off-by: The-Best-Codes <[email protected]> Co-authored-by: Max Novich <[email protected]> Co-authored-by: Jay4242 <[email protected]> Co-authored-by: Rizel Scarlett <[email protected]> Co-authored-by: Zane <[email protected]> Co-authored-by: Jack Amadeo <[email protected]> Co-authored-by: Best Codes <[email protected]> Signed-off-by: Soroosh <[email protected]>
Signed-off-by: The-Best-Codes <[email protected]> Co-authored-by: Max Novich <[email protected]> Co-authored-by: Jay4242 <[email protected]> Co-authored-by: Rizel Scarlett <[email protected]> Co-authored-by: Zane <[email protected]> Co-authored-by: Jack Amadeo <[email protected]> Co-authored-by: Best Codes <[email protected]> Signed-off-by: Kyle Santiago <[email protected]>
Signed-off-by: The-Best-Codes <[email protected]> Co-authored-by: Max Novich <[email protected]> Co-authored-by: Jay4242 <[email protected]> Co-authored-by: Rizel Scarlett <[email protected]> Co-authored-by: Zane <[email protected]> Co-authored-by: Jack Amadeo <[email protected]> Co-authored-by: Best Codes <[email protected]>
Signed-off-by: The-Best-Codes <[email protected]> Co-authored-by: Max Novich <[email protected]> Co-authored-by: Jay4242 <[email protected]> Co-authored-by: Rizel Scarlett <[email protected]> Co-authored-by: Zane <[email protected]> Co-authored-by: Jack Amadeo <[email protected]> Co-authored-by: Best Codes <[email protected]> Signed-off-by: Adam Tarantino <[email protected]>
Add comprehensive tutorial for setting up MongoDB MCP server extension following the same structure as existing database tutorials.